home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Frameworks / Grant's CGI Framework 1.0b12 / Util / PrefUtil.c < prev    next >
Text File  |  1995-12-09  |  2KB  |  94 lines

  1. /*****
  2.  *
  3.  *    PrefUtil.c
  4.  *
  5.  *    ••• This file has hardly begun and doesn't do anything yet.
  6.  *        PLEASE IGNORE THIS FILE FOR NOW
  7.  *
  8.  *    This is a support file for "Grant's CGI Framework".
  9.  *    Please see the license agreement that accompanies the distribution package
  10.  *    for licensing details.
  11.  *
  12.  *    Copyright ©1995 by Grant Neufeld
  13.  *    grant@acm.com
  14.  *    http://arpp1.carleton.ca/grant/
  15.  *
  16.  *****/
  17.  
  18. #include "compiler_stuff.h"
  19. #include "constants.h"
  20. #include "globals.h"
  21.  
  22. #include "ErrorUtil.h"
  23. #include "MemoryUtil.h"
  24. #include "ProcessUtil.h"
  25. #include "StringUtil.h"
  26.  
  27. #include "PrefUtil.h"
  28.  
  29.  
  30. /***  LOCAL VARIABLES  ***/
  31.  
  32.     short    vPrefFileRef;    /* reference of the open preference file */
  33.  
  34.  
  35. /***  FUNCTIONS  ***/
  36.  
  37. /*  */
  38. void
  39. PrefStartup ( void )
  40. {
  41.     
  42. } /*  */
  43.  
  44.  
  45. /** Prefs File Access **/
  46. #pragma mark -
  47.  
  48. /* Save the data as the specified resource in the preferences file.
  49.     If the file doesn't exist yet, create it. */
  50. void
  51. PrefSaveItem ( short theResID, ResType theResType, void *theData, short theSize )
  52. {
  53.     
  54. } /* PrefSaveItem */
  55.  
  56.  
  57. /* Create the preferences file. */
  58. OSErr
  59. PrefCreateFile ( void )
  60. {
  61.     OSErr    theErr;
  62.     
  63.     theErr = noErr; //•••
  64.     
  65.     return theErr;
  66. } /* PrefCreateFile */
  67.  
  68.  
  69. /* Open the preferences file and set it as the current resource file. */
  70. OSErr
  71. PrefOpenFile ( void )
  72. {
  73.     OSErr    theErr;
  74.     
  75.     theErr = noErr; //•••
  76.     
  77.     return theErr;
  78. } /* PrefOpenFile */
  79.  
  80.  
  81. /* Close the preferences file. */
  82. OSErr
  83. PrefCloseFile ( void )
  84. {
  85.     OSErr    theErr;
  86.     
  87.     theErr = noErr; //•••
  88.     
  89.     return theErr;
  90. } /* PrefCloseFile */
  91.  
  92.  
  93. /*****  EOF  *****/
  94.